package fun.chutianshu.eescore_07_aop.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.GetMapping;


@Controller
public class HomeController {
    @GetMapping("/")
    public String index(ModelMap map) {
        map.addAttribute("msg1", "Hello World");
        return "index";
    }



}
